package com.uxhao.staservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

/**
 * @author uxhao
 * @date 2021/1/25 23:37
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    @GetMapping(value = "/educenter/ucenter/countregister/{day}")
    Map<String,Object> registerCount(@PathVariable("day") String day);
}